#include<iostream>
#include<unistd.h>
using namespace std;

int main()
{
  int cnt = 0;
  while(true)
  {
    cout << "cnt = " << cnt << endl;
    sleep(1);
    cnt++;
  }
  return 0;
}
